/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.asu.bmi.sharp2b.logic;

/**
 *
 * @author David
 */
public class SimpleLabTimeCheckPrimitive extends Primitive{
    private LogicConcept lab;
    private LogicConcept operator;
    private LogicConcept value;
    private LogicConcept timeunit;
    public static final String pattern = "LAB OPERATOR VALUE TIME";
    
    public SimpleLabTimeCheckPrimitive(LogicConcept lab, LogicConcept operator, LogicConcept value, LogicConcept timeunit){
        this.lab = lab;
        this.operator = operator;
        this.value = value;
        this.timeunit = timeunit;
    }
    
    public SimpleLabTimeCheckPrimitive(){
        
    }
    
    @Override
    public String toString(){
        return "Most Recent " + this.lab + " " + this.operator + " " + this.value + " " + this.timeunit + " ago";
    }
    
}
